image {
	resolution 600 400
	aa 0 0
}

camera {
	type   pinhole
	eye    -15 7 0
	target 0 2 -1
	up     0 1 0
	fov    60
	aspect 1.5
}

light {
   type point
   color { "sRGB nonlinear" 1.000 1.000 1.000 }
   power 500.0
   p -4 4 0
}

shader {
  name shiny_red
  type shiny
  diff 1.0 0.0 0.0
  refl 0.8
}

shader {
  name simple_yellow
  type diffuse
  diff 1.0 1.0 0.0
}

shader {
  name simple_blue
  type diffuse
  diff 0.0 0.0 1.0
}

shader {
   name simple_glass
   type glass
   eta 1.88
   color { "sRGB nonlinear" 0.900 0.900 0.900 }
   absorbtion.distance 4.0
   absorbtion.color { "sRGB nonlinear" 1.0 1.0 1.0 }
}

shader {
  name shiny_green
  type shiny
  diff 0.0 1.0 0.0
  refl 0.5
}

shader {
  name shiny_blue
  type diffuse
  diff 1.0 1.0 1.0
}

shader {
  name simple_mirror
  type mirror
  refl { "sRGB nonlinear" 1.0 1.0 1.0 }
}



object {
	shader simple_yellow
	transform {	
		translate -4 2 0		
	}
	type sphere
	
}



object {
	shader simple_mirror
	type plane
	p 6 0 0
	n -1 0 0
}

object {
	shader simple_yellow
	type plane
	p 0 0 4
	n 0 0 -1
}

object {
	shader shiny_blue
	type plane
	p 0 0 0
	n 0 1 0
}

